﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../scripts/boot.js" type="text/javascript"></script>
    <script src="treebox.js" type="text/javascript"></script>
</head>
<body>  
   
    <div class="uc-treebox" url="../data/listTree.txt" showCheckBox="true"
        style="height:200px" onokclick="onOkClick" oncancelclick="onCancelClick"
    ></div>   

</body>
</html>
<script type="text/javascript">

    function onOkClick(e) {
        var tree = e.sender;
        alert(tree.getValue()+":"+tree.getText());
    }
    function onCancelClick(e) {
        alert("cancel");
    }

</script>